home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 076-100 / disk_076 / include / graphics / clip.g next >
Text File  |  1992-05-06  |  1KB  |  51 lines

  1. type
  2.     Rectangle_t = unknown 8,
  3.     SignalSemaphore_t = unknown 46,
  4.  
  5.     Layer_t = struct {
  6.     *Layer_t l_front, l_back;
  7.     *ClipRect_t l_ClipRect;
  8.     *RastPort_t l_rp;
  9.     Rectangle_t l_bounds;
  10.     [4]byte l_reserved;
  11.     uint l_priority;
  12.     uint l_Flags;
  13.     *BitMap_t l_SuperBitMap;
  14.     *ClipRect_t l_SuperClipRect;
  15.     *Window_t l_Window;
  16.     int l_Scroll_X, l_Scroll_Y;
  17.     *ClipRect_t l_cr, l_cr2, l_crnew;
  18.     *ClipRect_t l_SuperSaveClipRects;
  19.     *ClipRect_t l__cliprects;
  20.     *Layer_Info_t l_LayerInfo;
  21.     SignalSemaphore_t l_Lock;
  22.     [8]byte l_reserved3;
  23.     *Region_t l_ClipRegion;
  24.     *Region_t l_saveClipRects;
  25.     [22]byte l_reserved2;
  26.     *Region_t l_DamageList;
  27.     },
  28.  
  29.     ClipRect_t = struct {
  30.     *ClipRect_t cr_Next;
  31.     *ClipRect_t cr_prev;
  32.     *Layer_t cr_lobs;
  33.     *BitMap_t cr_BitMap;
  34.     Rectangle_t cr_bounds;
  35.     *ClipRect_t cr__p1, cr__p2;
  36.     ulong cr_reserved;
  37.     };
  38.  
  39. uint
  40.     ISLESSX    = 1,
  41.     ISLESSY    = 2,
  42.     ISGRTRX    = 4,
  43.     ISGRTRY    = 8;
  44.  
  45. extern
  46.     AttemptLockLayerRom(*Layer_t l)bool,
  47.     CopySBitMap(*Layer_t l)void,
  48.     LockLayerRom(*Layer_t layer)void,
  49.     SyncSBitMap(*Layer_t layer)void,
  50.     UnlockLayerRom(*Layer_t l)void;
  51.